from django.urls import re_path
from rest_framework.urlpatterns import format_suffix_patterns

from .apps import CurrentAppConfig
from .views import *


app_name = CurrentAppConfig.name


urlpatterns = format_suffix_patterns([
    re_path(r'^wx_pay_notify/$', WeChatPayNotifyAPIView.as_view(), name='wx_pay_notify'),
    re_path(r'^pay_records/$', PayRecordListView.as_view(), name='pay_records'),
    ])
